!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("react-dom")):"function"==typeof define&&define.amd?define("rb_wixui.thunderbolt[SlideShowGallery_SlideShowCleanAndSimple]",["react","reactDOM"],t):"object"==typeof exports?exports["rb_wixui.thunderbolt[SlideShowGallery_SlideShowCleanAndSimple]"]=t(require("react"),require("react-dom")):e["rb_wixui.thunderbolt[SlideShowGallery_SlideShowCleanAndSimple]"]=t(e.React,e.ReactDOM)}("undefined"!=typeof self?self:this,(function(e,t){return function(){var n={96114:function(e,t,n){var i;!function(t){"use strict";var r=function(){},a=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.msRequestAnimationFrame||function(e){return setTimeout(e,16)};function o(){var e=this;e.reads=[],e.writes=[],e.raf=a.bind(t),r("initialized",e)}function s(e){e.scheduled||(e.scheduled=!0,e.raf(c.bind(null,e)),r("flush scheduled"))}function c(e){r("flush");var t,n=e.writes,i=e.reads;try{r("flushing reads",i.length),e.runTasks(i),r("flushing writes",n.length),e.runTasks(n)}catch(e){t=e}if(e.scheduled=!1,(i.length||n.length)&&s(e),t){if(r("task errored",t.message),!e.catch)throw t;e.catch(t)}}function l(e,t){var n=e.indexOf(t);return!!~n&&!!e.splice(n,1)}o.prototype={constructor:o,runTasks:function(e){var t;for(r("run tasks");t=e.shift();)t()},measure:function(e,t){r("measure");var n=t?e.bind(t):e;return this.reads.push(n),s(this),n},mutate:function(e,t){r("mutate");var n=t?e.bind(t):e;return this.writes.push(n),s(this),n},clear:function(e){return r("clear",e),l(this.reads,e)||l(this.writes,e)},extend:function(e){if(r("extend",e),"object"!=typeof e)throw new Error("expected object");var t=Object.create(this);return function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])}(t,e),t.fastdom=this,t.initialize&&t.initialize(),t},catch:null};var u=t.fastdom=t.fastdom||new o;void 0===(i=function(){return u}.call(u,n,u,e))||(e.exports=i)}("undefined"!=typeof window?window:void 0!==this?this:globalThis)},5329:function(t){"use strict";t.exports=e},95561:function(e){"use strict";e.exports=t},93213:function(e,t,n){var i=n(96174);e.exports=function(e,t,n){return(t=i(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},448:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},27662:function(e,t,n){var i=n(8114).default;e.exports=function(e,t){if("object"!=i(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=i(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},96174:function(e,t,n){var i=n(8114).default,r=n(27662);e.exports=function(e){var t=r(e,"string");return"symbol"==i(t)?t:t+""},e.exports.__esModule=!0,e.exports.default=e.exports},8114:function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}},i={};function r(e){var t=i[e];if(void 0!==t)return t.exports;var a=i[e]={exports:{}};return n[e].call(a.exports,a,a.exports,r),a.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){"use strict";r.r(a),r.d(a,{components:function(){return oi}});var e={};r.r(e),r.d(e,{STATIC_MEDIA_URL:function(){return Lt},ph:function(){return vt}});var t=r(448),n=r.n(t),i=r(5329),o=r.n(i);function s(e){var t,n,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(n=s(e[t]))&&(i&&(i+=" "),i+=n);else for(t in e)e[t]&&(i&&(i+=" "),i+=t);return i}var c=function(){for(var e,t,n=0,i="";n<arguments.length;)(e=arguments[n++])&&(t=s(e))&&(i&&(i+=" "),i+=t);return i};const l=13,u=27,d=37,h=39;function p(e){return t=>{t.keyCode===e&&(t.preventDefault(),t.stopPropagation(),t.currentTarget.click())}}const m=p(32),g=p(l),f=e=>{g(e),m(e)},E=(p(u),e=>Object.entries(e).reduce(((e,[t,n])=>(t.includes("data-")&&(e[t]=n),e)),{}));const T="wixui-",I=(e,...t)=>{const n=[];return e&&n.push(`${T}${e}`),t.forEach((e=>{e&&(n.push(`${T}${e}`),n.push(e))})),n.join(" ")},_={left:"onSwipeLeft",right:"onSwipeRight",up:"onSwipeUp",down:"onSwipeDown"},b=e=>{if(e.touches&&e.touches.length){const t=e.touches[0];return{x:t.pageX,y:t.pageY}}},v={touched:!0,moved:!1,deltaCoords:{x:0,y:0}},x=(e,t,n)=>()=>{let i;const r=e=>{i={...v,numOfTouches:e.touches.length,startCoords:b(e),startTime:Date.now(),evObj:{...e}}},a=e=>{if(!i)return;const t=b(e);if(t){i.startCoords||(i.startCoords=t);const e=i.startCoords.x-t.x,n=i.startCoords.y-t.y;i.moved=!0,i.deltaCoords={x:e,y:n}}},o=()=>{if(i)if(i.endTime=Date.now(),"onTap"===e&&(e=>e.touched&&!e.moved&&1===e.numOfTouches)(i))t(i.evObj);else if((e=>e.moved&&1===e.numOfTouches&&e.endTime-e.startTime<500&&(Math.abs(e.deltaCoords.x)>100||Math.abs(e.deltaCoords.y)>60))(i)){const n=((e,t)=>{let n;return n=Math.abs(e)>Math.abs(t)?e>0?"left":"right":t>0?"up":"down",n})(i.deltaCoords.x,i.deltaCoords.y);e===_[n]&&t(i.evObj)}};return n&&n.current&&(n.current.addEventListener("touchstart",r,{passive:!0}),n.current.addEventListener("touchmove",a,{passive:!0}),n.current.addEventListener("touchend",o,{passive:!0})),()=>{n&&n.current&&(n.current.removeEventListener("touchstart",r),n.current.removeEventListener("touchmove",a),n.current.removeEventListener("touchend",o))}},y=(e,t,n)=>i.useEffect(x(e,t,n),[e,n,t]),L=()=>"function"==typeof window.IntersectionObserver;const A="gallery-item-panel",C="gallery-item-title",w="gallery-item-description",O="gallery-item-click-action-link",S="gallery-item-click-action-image-zoom",N="gallery-item-describedby-id",R="gallery-item-click-action-disabled",k="gallery-navButtons",M="gallery-prevButton",P="gallery-nextButton",G="gallery-prevButtonInner",F="gallery-nextButtonInner",B="gallery-counter",H={root:"slide-show-gallery",items:"slide-show-gallery-items",ghostItem:"gallery-item-ghost",item:"gallery-item-item",navButtons:k,prevButton:M,nextButton:P,prevButtonInner:G,nextButtonInner:F,playButton:"slide-show-gallery-playButton",pauseButton:"slide-show-gallery-pauseButton",playButtonInner:"slide-show-gallery-playButtonInner",counter:B,slideShowIcon:"slide-show-gallery-icon",itemTitle:"gallery-item-title"};var Y="HlRz5e";const U="v1",D=2,j=1920,$=1920,z=1e3,V=1e3,W={SCALE_TO_FILL:"fill",SCALE_TO_FIT:"fit",STRETCH:"stretch",ORIGINAL_SIZE:"original_size",TILE:"tile",TILE_HORIZONTAL:"tile_horizontal",TILE_VERTICAL:"tile_vertical",FIT_AND_TILE:"fit_and_tile",LEGACY_STRIP_TILE:"legacy_strip_tile",LEGACY_STRIP_TILE_HORIZONTAL:"legacy_strip_tile_horizontal",LEGACY_STRIP_TILE_VERTICAL:"legacy_strip_tile_vertical",LEGACY_STRIP_SCALE_TO_FILL:"legacy_strip_fill",LEGACY_STRIP_SCALE_TO_FIT:"legacy_strip_fit",LEGACY_STRIP_FIT_AND_TILE:"legacy_strip_fit_and_tile",LEGACY_STRIP_ORIGINAL_SIZE:"legacy_strip_original_size",LEGACY_ORIGINAL_SIZE:"actual_size",LEGACY_FIT_WIDTH:"fitWidth",LEGACY_FIT_HEIGHT:"fitHeight",LEGACY_FULL:"full",LEGACY_BG_FIT_AND_TILE:"legacy_tile",LEGACY_BG_FIT_AND_TILE_HORIZONTAL:"legacy_tile_horizontal",LEGACY_BG_FIT_AND_TILE_VERTICAL:"legacy_tile_vertical",LEGACY_BG_NORMAL:"legacy_normal"},Z={FIT:"fit",FILL:"fill",FILL_FOCAL:"fill_focal",CROP:"crop",LEGACY_CROP:"legacy_crop",LEGACY_FILL:"legacy_fill"},q={CENTER:"center",TOP:"top",TOP_LEFT:"top_left",TOP_RIGHT:"top_right",BOTTOM:"bottom",BOTTOM_LEFT:"bottom_left",BOTTOM_RIGHT:"bottom_right",LEFT:"left",RIGHT:"right"},J={[q.CENTER]:{x:.5,y:.5},[q.TOP_LEFT]:{x:0,y:0},[q.TOP_RIGHT]:{x:1,y:0},[q.TOP]:{x:.5,y:0},[q.BOTTOM_LEFT]:{x:0,y:1},[q.BOTTOM_RIGHT]:{x:1,y:1},[q.BOTTOM]:{x:.5,y:1},[q.RIGHT]:{x:1,y:.5},[q.LEFT]:{x:0,y:.5}},X={center:"c",top:"t",top_left:"tl",top_right:"tr",bottom:"b",bottom_left:"bl",bottom_right:"br",left:"l",right:"r"},K={BG:"bg",IMG:"img",SVG:"svg"},Q={AUTO:"auto",CLASSIC:"classic",SUPER:"super"},ee={classic:1,super:2},te={radius:"0.66",amount:"1.00",threshold:"0.01"},ne={uri:"",css:{img:{},container:{}},attr:{img:{},container:{}},transformed:!1},ie=25e6,re=[1.5,2,4],ae={HIGH:{size:196e4,quality:90,maxUpscale:1},MEDIUM:{size:36e4,quality:85,maxUpscale:1},LOW:{size:16e4,quality:80,maxUpscale:1.2},TINY:{size:0,quality:80,maxUpscale:1.4}},oe={HIGH:"HIGH",MEDIUM:"MEDIUM",LOW:"LOW",TINY:"TINY"},se={CONTRAST:"contrast",BRIGHTNESS:"brightness",SATURATION:"saturation",HUE:"hue",BLUR:"blur"},ce={JPG:"jpg",JPEG:"jpeg",JPE:"jpe",PNG:"png",WEBP:"webp",WIX_ICO_MP:"wix_ico_mp",WIX_MP:"wix_mp",GIF:"gif",SVG:"svg",AVIF:"avif",UNRECOGNIZED:"unrecognized"},le={AVIF:"AVIF",PAVIF:"PAVIF"};ce.JPG,ce.JPEG,ce.JPE,ce.PNG,ce.GIF,ce.WEBP;function ue(e,...t){return function(...n){const i=n[n.length-1]||{},r=[e[0]];return t.forEach((function(t,a){const o=Number.isInteger(t)?n[t]:i[t];r.push(o,e[a+1])})),r.join("")}}function de(e){return e[e.length-1]}const he=[ce.PNG,ce.JPEG,ce.JPG,ce.JPE,ce.WIX_ICO_MP,ce.WIX_MP,ce.WEBP,ce.AVIF],pe=[ce.JPEG,ce.JPG,ce.JPE];function me(e,t,n){return n&&t&&!(!(i=t.id)||!i.trim()||"none"===i.toLowerCase())&&Object.values(W).includes(e);var i}function ge(e,t,n){return function(e,t,n=!1){return!((Ee(e)||Ie(e))&&t&&!n)}(e,t,n)&&(function(e){return he.includes(ye(e))}(e)||function(e,t=!1){return Te(e)&&t}(e,n))&&!/(^https?)|(^data)|(^\/\/)/.test(e)}function fe(e){return ye(e)===ce.PNG}function Ee(e){return ye(e)===ce.WEBP}function Te(e){return ye(e)===ce.GIF}function Ie(e){return ye(e)===ce.AVIF}const _e=["/","\\","?","<",">","|","\u201c",":",'"'].map(encodeURIComponent),be=["\\.","\\*"],ve="_";function xe(e){return function(e){return pe.includes(ye(e))}(e)?ce.JPG:fe(e)?ce.PNG:Ee(e)?ce.WEBP:Te(e)?ce.GIF:Ie(e)?ce.AVIF:ce.UNRECOGNIZED}function ye(e){return(/[.]([^.]+)$/.exec(e)&&/[.]([^.]+)$/.exec(e)[1]||"").toLowerCase()}function Le(e,t,n,i,r){let a;return a=r===Z.FILL?function(e,t,n,i){return Math.max(n/e,i/t)}(e,t,n,i):r===Z.FIT?function(e,t,n,i){return Math.min(n/e,i/t)}(e,t,n,i):1,a}function Ae(e,t,n,i,r,a){e=e||i.width,t=t||i.height;const{scaleFactor:o,width:s,height:c}=function(e,t,n,i,r){let a,o=n,s=i;if(a=Le(e,t,n,i,r),r===Z.FIT&&(o=e*a,s=t*a),o&&s&&o*s>ie){const n=Math.sqrt(ie/(o*s));o*=n,s*=n,a=Le(e,t,o,s,r)}return{scaleFactor:a,width:o,height:s}}(e,t,i.width*r,i.height*r,n);return function(e,t,n,i,r,a,o){const{optimizedScaleFactor:s,upscaleMethodValue:c,forceUSM:l}=function(e,t,n,i){if("auto"===i)return function(e,t){const n=Se(e,t);return{optimizedScaleFactor:ae[n].maxUpscale,upscaleMethodValue:ee.classic,forceUSM:!1}}(e,t);if("super"===i)return function(e){return{optimizedScaleFactor:de(re),upscaleMethodValue:ee.super,forceUSM:!(re.includes(e)||e>de(re))}}(n);return function(e,t){const n=Se(e,t);return{optimizedScaleFactor:ae[n].maxUpscale,upscaleMethodValue:ee.classic,forceUSM:!1}}(e,t)}(e,t,a,r);let u=n,d=i;if(a<=s)return{width:u,height:d,scaleFactor:a,upscaleMethodValue:c,forceUSM:l,cssUpscaleNeeded:!1};switch(o){case Z.FILL:u=n*(s/a),d=i*(s/a);break;case Z.FIT:u=e*s,d=t*s}return{width:u,height:d,scaleFactor:s,upscaleMethodValue:c,forceUSM:l,cssUpscaleNeeded:!0}}(e,t,s,c,a,o,n)}function Ce(e,t,n,i){const r=Oe(n)||function(e=q.CENTER){return J[e]}(i);return{x:Math.max(0,Math.min(e.width-t.width,r.x*e.width-t.width/2)),y:Math.max(0,Math.min(e.height-t.height,r.y*e.height-t.height/2)),width:Math.min(e.width,t.width),height:Math.min(e.height,t.height)}}function we(e){return e.alignment&&X[e.alignment]||X[q.CENTER]}function Oe(e){let t;return!e||"number"!=typeof e.x||isNaN(e.x)||"number"!=typeof e.y||isNaN(e.y)||(t={x:Ne(Math.max(0,Math.min(100,e.x))/100,2),y:Ne(Math.max(0,Math.min(100,e.y))/100,2)}),t}function Se(e,t){const n=e*t;return n>ae[oe.HIGH].size?oe.HIGH:n>ae[oe.MEDIUM].size?oe.MEDIUM:n>ae[oe.LOW].size?oe.LOW:oe.TINY}function Ne(e,t){const n=Math.pow(10,t||0);return(e*n/n).toFixed(t)}function Re(e){return e&&e.upscaleMethod&&Q[e.upscaleMethod.toUpperCase()]||Q.AUTO}function ke(e,t){const n=Ee(e)||Ie(e);return ye(e)===ce.GIF||n&&t}const Me={isMobile:!1},Pe=function(e){return Me[e]};function Ge(){if("undefined"!=typeof window&&"undefined"!=typeof navigator){const t=window.matchMedia&&window.matchMedia("(max-width: 767px)").matches,n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);e=t&&n,Me["isMobile"]=e}var e}function Fe(e,t){const n={css:{container:{}}},{css:i}=n,{fittingType:r}=e;switch(r){case W.ORIGINAL_SIZE:case W.LEGACY_ORIGINAL_SIZE:case W.LEGACY_STRIP_ORIGINAL_SIZE:i.container.backgroundSize="auto",i.container.backgroundRepeat="no-repeat";break;case W.SCALE_TO_FIT:case W.LEGACY_STRIP_SCALE_TO_FIT:i.container.backgroundSize="contain",i.container.backgroundRepeat="no-repeat";break;case W.STRETCH:i.container.backgroundSize="100% 100%",i.container.backgroundRepeat="no-repeat";break;case W.SCALE_TO_FILL:case W.LEGACY_STRIP_SCALE_TO_FILL:i.container.backgroundSize="cover",i.container.backgroundRepeat="no-repeat";break;case W.TILE_HORIZONTAL:case W.LEGACY_STRIP_TILE_HORIZONTAL:i.container.backgroundSize="auto",i.container.backgroundRepeat="repeat-x";break;case W.TILE_VERTICAL:case W.LEGACY_STRIP_TILE_VERTICAL:i.container.backgroundSize="auto",i.container.backgroundRepeat="repeat-y";break;case W.TILE:case W.LEGACY_STRIP_TILE:i.container.backgroundSize="auto",i.container.backgroundRepeat="repeat";break;case W.LEGACY_STRIP_FIT_AND_TILE:i.container.backgroundSize="contain",i.container.backgroundRepeat="repeat";break;case W.FIT_AND_TILE:case W.LEGACY_BG_FIT_AND_TILE:i.container.backgroundSize="auto",i.container.backgroundRepeat="repeat";break;case W.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:i.container.backgroundSize="auto",i.container.backgroundRepeat="repeat-x";break;case W.LEGACY_BG_FIT_AND_TILE_VERTICAL:i.container.backgroundSize="auto",i.container.backgroundRepeat="repeat-y";break;case W.LEGACY_BG_NORMAL:i.container.backgroundSize="auto",i.container.backgroundRepeat="no-repeat"}switch(t.alignment){case q.CENTER:i.container.backgroundPosition="center center";break;case q.LEFT:i.container.backgroundPosition="left center";break;case q.RIGHT:i.container.backgroundPosition="right center";break;case q.TOP:i.container.backgroundPosition="center top";break;case q.BOTTOM:i.container.backgroundPosition="center bottom";break;case q.TOP_RIGHT:i.container.backgroundPosition="right top";break;case q.TOP_LEFT:i.container.backgroundPosition="left top";break;case q.BOTTOM_RIGHT:i.container.backgroundPosition="right bottom";break;case q.BOTTOM_LEFT:i.container.backgroundPosition="left bottom"}return n}const Be={[q.CENTER]:"center",[q.TOP]:"top",[q.TOP_LEFT]:"top left",[q.TOP_RIGHT]:"top right",[q.BOTTOM]:"bottom",[q.BOTTOM_LEFT]:"bottom left",[q.BOTTOM_RIGHT]:"bottom right",[q.LEFT]:"left",[q.RIGHT]:"right"},He={position:"absolute",top:"auto",right:"auto",bottom:"auto",left:"auto"};function Ye(e,t){const n={css:{container:{},img:{}}},{css:i}=n,{fittingType:r}=e,a=t.alignment;switch(i.container.position="relative",r){case W.ORIGINAL_SIZE:case W.LEGACY_ORIGINAL_SIZE:e.parts&&e.parts.length?(i.img.width=e.parts[0].width,i.img.height=e.parts[0].height):(i.img.width=e.src.width,i.img.height=e.src.height);break;case W.SCALE_TO_FIT:case W.LEGACY_FIT_WIDTH:case W.LEGACY_FIT_HEIGHT:case W.LEGACY_FULL:i.img.width=t.width,i.img.height=t.height,i.img.objectFit="contain",i.img.objectPosition=Be[a]||"unset";break;case W.LEGACY_BG_NORMAL:i.img.width="100%",i.img.height="100%",i.img.objectFit="none",i.img.objectPosition=Be[a]||"unset";break;case W.STRETCH:i.img.width=t.width,i.img.height=t.height,i.img.objectFit="fill";break;case W.SCALE_TO_FILL:i.img.width=t.width,i.img.height=t.height,i.img.objectFit="cover"}if("number"==typeof i.img.width&&"number"==typeof i.img.height&&(i.img.width!==t.width||i.img.height!==t.height)){const e=Math.round((t.height-i.img.height)/2),n=Math.round((t.width-i.img.width)/2);Object.assign(i.img,He,function(e,t,n){return{[q.TOP_LEFT]:{top:0,left:0},[q.TOP_RIGHT]:{top:0,right:0},[q.TOP]:{top:0,left:t},[q.BOTTOM_LEFT]:{bottom:0,left:0},[q.BOTTOM_RIGHT]:{bottom:0,right:0},[q.BOTTOM]:{bottom:0,left:t},[q.RIGHT]:{top:e,right:0},[q.LEFT]:{top:e,left:0},[q.CENTER]:{width:n.width,height:n.height,objectFit:"none"}}}(e,n,t)[a])}return n}function Ue(e,t){const n={css:{container:{}},attr:{container:{},img:{}}},{css:i,attr:r}=n,{fittingType:a}=e,o=t.alignment,{width:s,height:c}=e.src;let l;switch(i.container.position="relative",a){case W.ORIGINAL_SIZE:case W.LEGACY_ORIGINAL_SIZE:case W.TILE:e.parts&&e.parts.length?(r.img.width=e.parts[0].width,r.img.height=e.parts[0].height):(r.img.width=s,r.img.height=c),r.img.preserveAspectRatio="xMidYMid slice";break;case W.SCALE_TO_FIT:case W.LEGACY_FIT_WIDTH:case W.LEGACY_FIT_HEIGHT:case W.LEGACY_FULL:r.img.width="100%",r.img.height="100%",r.img.transform="",r.img.preserveAspectRatio="";break;case W.STRETCH:r.img.width=t.width,r.img.height=t.height,r.img.x=0,r.img.y=0,r.img.transform="",r.img.preserveAspectRatio="none";break;case W.SCALE_TO_FILL:ge(e.src.id)?(r.img.width=t.width,r.img.height=t.height):(l=function(e,t,n,i,r){const a=Le(e,t,n,i,r);return{width:Math.round(e*a),height:Math.round(t*a)}}(s,c,t.width,t.height,Z.FILL),r.img.width=l.width,r.img.height=l.height),r.img.x=0,r.img.y=0,r.img.transform="",r.img.preserveAspectRatio="xMidYMid slice"}if("number"==typeof r.img.width&&"number"==typeof r.img.height&&(r.img.width!==t.width||r.img.height!==t.height)){let e,n,i=0,s=0;a===W.TILE?(e=t.width%r.img.width,n=t.height%r.img.height):(e=t.width-r.img.width,n=t.height-r.img.height);const c=Math.round(e/2),l=Math.round(n/2);switch(o){case q.TOP_LEFT:i=0,s=0;break;case q.TOP:i=c,s=0;break;case q.TOP_RIGHT:i=e,s=0;break;case q.LEFT:i=0,s=l;break;case q.CENTER:i=c,s=l;break;case q.RIGHT:i=e,s=l;break;case q.BOTTOM_LEFT:i=0,s=n;break;case q.BOTTOM:i=c,s=n;break;case q.BOTTOM_RIGHT:i=e,s=n}r.img.x=i,r.img.y=s}return r.container.width=t.width,r.container.height=t.height,r.container.viewBox=[0,0,t.width,t.height].join(" "),n}function De(e,t,n){let i;switch(t.crop&&(i=function(e,t){const n=Math.max(0,Math.min(e.width,t.x+t.width)-Math.max(0,t.x)),i=Math.max(0,Math.min(e.height,t.y+t.height)-Math.max(0,t.y));return n&&i&&(e.width!==n||e.height!==i)?{x:Math.max(0,t.x),y:Math.max(0,t.y),width:n,height:i}:null}(t,t.crop),i&&(e.src.width=i.width,e.src.height=i.height,e.src.isCropped=!0,e.parts.push($e(i)))),e.fittingType){case W.SCALE_TO_FIT:case W.LEGACY_FIT_WIDTH:case W.LEGACY_FIT_HEIGHT:case W.LEGACY_FULL:case W.FIT_AND_TILE:case W.LEGACY_BG_FIT_AND_TILE:case W.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case W.LEGACY_BG_FIT_AND_TILE_VERTICAL:case W.LEGACY_BG_NORMAL:e.parts.push(je(e,n));break;case W.SCALE_TO_FILL:e.parts.push(function(e,t){const n=Ae(e.src.width,e.src.height,Z.FILL,t,e.devicePixelRatio,e.upscaleMethod),i=Oe(e.focalPoint);return{transformType:i?Z.FILL_FOCAL:Z.FILL,width:Math.round(n.width),height:Math.round(n.height),alignment:we(t),focalPointX:i&&i.x,focalPointY:i&&i.y,upscale:n.scaleFactor>1,forceUSM:n.forceUSM,scaleFactor:n.scaleFactor,cssUpscaleNeeded:n.cssUpscaleNeeded,upscaleMethodValue:n.upscaleMethodValue}}(e,n));break;case W.STRETCH:e.parts.push(function(e,t){const n=Le(e.src.width,e.src.height,t.width,t.height,Z.FILL),i={...t};return i.width=e.src.width*n,i.height=e.src.height*n,je(e,i)}(e,n));break;case W.TILE_HORIZONTAL:case W.TILE_VERTICAL:case W.TILE:case W.LEGACY_ORIGINAL_SIZE:case W.ORIGINAL_SIZE:i=Ce(e.src,n,e.focalPoint,n.alignment),e.src.isCropped?(Object.assign(e.parts[0],i),e.src.width=i.width,e.src.height=i.height):e.parts.push($e(i));break;case W.LEGACY_STRIP_TILE_HORIZONTAL:case W.LEGACY_STRIP_TILE_VERTICAL:case W.LEGACY_STRIP_TILE:case W.LEGACY_STRIP_ORIGINAL_SIZE:e.parts.push(function(e){return{transformType:Z.LEGACY_CROP,width:Math.round(e.width),height:Math.round(e.height),alignment:we(e),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}(n));break;case W.LEGACY_STRIP_SCALE_TO_FIT:case W.LEGACY_STRIP_FIT_AND_TILE:e.parts.push(function(e){return{transformType:Z.FIT,width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(n));break;case W.LEGACY_STRIP_SCALE_TO_FILL:e.parts.push(function(e){return{transformType:Z.LEGACY_FILL,width:Math.round(e.width),height:Math.round(e.height),alignment:we(e),upscale:!1,forceUSM:!0,scaleFactor:1,cssUpscaleNeeded:!1}}(n))}}function je(e,t){const n=Ae(e.src.width,e.src.height,Z.FIT,t,e.devicePixelRatio,e.upscaleMethod);return{transformType:!e.src.width||!e.src.height?Z.FIT:Z.FILL,width:Math.round(n.width),height:Math.round(n.height),alignment:X.center,upscale:n.scaleFactor>1,forceUSM:n.forceUSM,scaleFactor:n.scaleFactor,cssUpscaleNeeded:n.cssUpscaleNeeded,upscaleMethodValue:n.upscaleMethodValue}}function $e(e){return{transformType:Z.CROP,x:Math.round(e.x),y:Math.round(e.y),width:Math.round(e.width),height:Math.round(e.height),upscale:!1,forceUSM:!1,scaleFactor:1,cssUpscaleNeeded:!1}}function ze(e,t){t=t||{},e.quality=function(e,t){const n=e.fileType===ce.PNG,i=e.fileType===ce.JPG,r=e.fileType===ce.WEBP,a=e.fileType===ce.AVIF,o=i||n||r||a;if(o){const i=de(e.parts),r=(s=i.width,c=i.height,ae[Se(s,c)].quality);let a=t.quality&&t.quality>=5&&t.quality<=90?t.quality:r;return a=n?a+5:a,a}var s,c;return 0}(e,t),e.progressive=function(e){return!1!==e.progressive}(t),e.watermark=function(e){return e.watermark}(t),e.autoEncode=t.autoEncode??!0,e.encoding=t?.encoding,e.unsharpMask=function(e,t){if(function(e){const t="number"==typeof(e=e||{}).radius&&!isNaN(e.radius)&&e.radius>=.1&&e.radius<=500,n="number"==typeof e.amount&&!isNaN(e.amount)&&e.amount>=0&&e.amount<=10,i="number"==typeof e.threshold&&!isNaN(e.threshold)&&e.threshold>=0&&e.threshold<=255;return t&&n&&i}(t.unsharpMask))return{radius:Ne(t.unsharpMask?.radius,2),amount:Ne(t.unsharpMask?.amount,2),threshold:Ne(t.unsharpMask?.threshold,2)};if(("number"!=typeof(n=(n=t.unsharpMask)||{}).radius||isNaN(n.radius)||0!==n.radius||"number"!=typeof n.amount||isNaN(n.amount)||0!==n.amount||"number"!=typeof n.threshold||isNaN(n.threshold)||0!==n.threshold)&&function(e){const t=de(e.parts);return!(t.scaleFactor>=1)||t.forceUSM||t.transformType===Z.FIT}(e))return te;var n;return}(e,t),e.filters=function(e){const t=e.filters||{},n={};Ve(t[se.CONTRAST],-100,100)&&(n[se.CONTRAST]=t[se.CONTRAST]);Ve(t[se.BRIGHTNESS],-100,100)&&(n[se.BRIGHTNESS]=t[se.BRIGHTNESS]);Ve(t[se.SATURATION],-100,100)&&(n[se.SATURATION]=t[se.SATURATION]);Ve(t[se.HUE],-180,180)&&(n[se.HUE]=t[se.HUE]);Ve(t[se.BLUR],0,100)&&(n[se.BLUR]=t[se.BLUR]);return n}(t)}function Ve(e,t,n){return"number"==typeof e&&!isNaN(e)&&0!==e&&e>=t&&e<=n}function We(e,t,n,i){const r=function(e){return e?.isSEOBot??!1}(i),a=xe(t.id),o=function(e,t){const n=/\.([^.]*)$/,i=new RegExp(`(${_e.concat(be).join("|")})`,"g");if(t&&t.length){let e=t;const r=t.match(n);return r&&he.includes(r[1])&&(e=t.replace(n,"")),encodeURIComponent(e).replace(i,ve)}const r=e.match(/\/(.*?)$/);return(r?r[1]:e).replace(n,"")}(t.id,t.name),s=r?1:function(e){return Math.min(e.pixelAspectRatio||1,D)}(n),c=ye(t.id),l=c,u=ge(t.id,i?.hasAnimation,i?.allowAnimatedTransform),d={fileName:o,fileExtension:c,fileType:a,fittingType:e,preferredExtension:l,src:{id:t.id,width:t.width,height:t.height,isCropped:!1,isAnimated:ke(t.id,i?.hasAnimation)},focalPoint:{x:t.focalPoint&&t.focalPoint.x,y:t.focalPoint&&t.focalPoint.y},parts:[],devicePixelRatio:s,quality:0,upscaleMethod:Re(i),progressive:!0,watermark:"",unsharpMask:{},filters:{},transformed:u};return u&&(De(d,t,n),ze(d,i)),d}function Ze(e,t,n){const i={...n},r=Pe("isMobile");switch(e){case W.LEGACY_BG_FIT_AND_TILE:case W.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:case W.LEGACY_BG_FIT_AND_TILE_VERTICAL:case W.LEGACY_BG_NORMAL:const e=r?z:j,n=r?V:$;i.width=Math.min(e,t.width),i.height=Math.min(n,Math.round(i.width/(t.width/t.height))),i.pixelAspectRatio=1}return i}const qe=ue`fit/w_${"width"},h_${"height"}`,Je=ue`fill/w_${"width"},h_${"height"},al_${"alignment"}`,Xe=ue`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`,Ke=ue`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`,Qe=ue`crop/w_${"width"},h_${"height"},al_${"alignment"}`,et=ue`fill/w_${"width"},h_${"height"},al_${"alignment"}`,tt=ue`,lg_${"upscaleMethodValue"}`,nt=ue`,q_${"quality"}`,it=ue`,quality_auto`,rt=ue`,usm_${"radius"}_${"amount"}_${"threshold"}`,at=ue`,bl`,ot=ue`,wm_${"watermark"}`,st={[se.CONTRAST]:ue`,con_${"contrast"}`,[se.BRIGHTNESS]:ue`,br_${"brightness"}`,[se.SATURATION]:ue`,sat_${"saturation"}`,[se.HUE]:ue`,hue_${"hue"}`,[se.BLUR]:ue`,blur_${"blur"}`},ct=ue`,enc_auto`,lt=ue`,enc_avif`,ut=ue`,enc_pavif`,dt=ue`,pstr`;function ht(e,t,n,i={},r){if(ge(t.id,i?.hasAnimation,i?.allowAnimatedTransform)){if(Ee(t.id)||Ie(t.id)){const{alignment:a,...o}=n;t.focalPoint={x:void 0,y:void 0},delete t?.crop,r=We(e,t,o,i)}else r=r||We(e,t,n,i);return function(e){const t=[];e.parts.forEach((e=>{switch(e.transformType){case Z.CROP:t.push(Ke(e));break;case Z.LEGACY_CROP:t.push(Qe(e));break;case Z.LEGACY_FILL:let n=et(e);e.upscale&&(n+=tt(e)),t.push(n);break;case Z.FIT:let i=qe(e);e.upscale&&(i+=tt(e)),t.push(i);break;case Z.FILL:let r=Je(e);e.upscale&&(r+=tt(e)),t.push(r);break;case Z.FILL_FOCAL:let a=Xe(e);e.upscale&&(a+=tt(e)),t.push(a)}}));let n=t.join("/");return e.quality&&(n+=nt(e)),e.unsharpMask&&(n+=rt(e.unsharpMask)),e.progressive||(n+=at(e)),e.watermark&&(n+=ot(e)),e.filters&&(n+=Object.keys(e.filters).map((t=>st[t](e.filters))).join("")),e.fileType!==ce.GIF&&(e.encoding===le.AVIF?(n+=lt(e),n+=it(e)):e.encoding===le.PAVIF?(n+=ut(e),n+=it(e)):e.autoEncode&&(n+=ct(e))),e.src?.isAnimated&&e.transformed&&(n+=dt(e)),`${e.src.id}/${U}/${n}/${e.fileName}.${e.preferredExtension}`}(r)}return t.id}const pt={[q.CENTER]:"50% 50%",[q.TOP_LEFT]:"0% 0%",[q.TOP_RIGHT]:"100% 0%",[q.TOP]:"50% 0%",[q.BOTTOM_LEFT]:"0% 100%",[q.BOTTOM_RIGHT]:"100% 100%",[q.BOTTOM]:"50% 100%",[q.RIGHT]:"100% 50%",[q.LEFT]:"0% 50%"},mt=Object.entries(pt).reduce(((e,[t,n])=>(e[n]=t,e)),{}),gt=[W.TILE,W.TILE_HORIZONTAL,W.TILE_VERTICAL,W.LEGACY_BG_FIT_AND_TILE,W.LEGACY_BG_FIT_AND_TILE_HORIZONTAL,W.LEGACY_BG_FIT_AND_TILE_VERTICAL],ft=[W.LEGACY_ORIGINAL_SIZE,W.ORIGINAL_SIZE,W.LEGACY_BG_NORMAL];function Et(e,t,{width:n,height:i}){return e===W.TILE&&t.width>n&&t.height>i}function Tt(e,{width:t,height:n}){if(!t||!n){const i=t||Math.min(980,e.width),r=i/e.width;return{width:i,height:n||e.height*r}}return{width:t,height:n}}function It(e,t,n,i="center"){const r={img:{},container:{}};if(e===W.SCALE_TO_FILL){const e=t.focalPoint&&function(e){const t=`${e.x}% ${e.y}%`;return mt[t]||""}(t.focalPoint),a=e||i;t.focalPoint&&!e?r.img={objectPosition:_t(t,n,t.focalPoint)}:r.img={objectPosition:pt[a]}}else[W.LEGACY_ORIGINAL_SIZE,W.ORIGINAL_SIZE].includes(e)?r.img={objectFit:"none",top:"auto",left:"auto",right:"auto",bottom:"auto"}:gt.includes(e)&&(r.container={backgroundSize:`${t.width}px ${t.height}px`});return r}function _t(e,t,n){const{width:i,height:r}=e,{width:a,height:o}=t,{x:s,y:c}=n;if(!a||!o)return`${s}% ${c}%`;const l=Math.max(a/i,o/r),u=i*l,d=r*l,h=Math.max(0,Math.min(u-a,u*(s/100)-a/2)),p=Math.max(0,Math.min(d-o,d*(c/100)-o/2));return`${h&&Math.floor(h/(u-a)*100)}% ${p&&Math.floor(p/(d-o)*100)}%`}const bt={width:"100%",height:"100%"};function vt(e,t,n,i={}){const{autoEncode:r=!0,isSEOBot:a,shouldLoadHQImage:o,hasAnimation:s,allowAnimatedTransform:c,encoding:l}=i;if(!me(e,t,n))return ne;const u=void 0===c||c,d=ge(t.id,s,u);if(!d||o)return xt(e,t,n,{...i,autoEncode:r,useSrcset:d});const h={...n,...Tt(t,n)},{alignment:p,htmlTag:m}=h,g=Et(e,t,h),f=function(e,t,{width:n,height:i},r=!1){if(r)return{width:n,height:i};const a=!ft.includes(e),o=Et(e,t,{width:n,height:i}),s=!o&>.includes(e),c=s?t.width:n,l=s?t.height:i,u=a?function(e,t){return e>900?t?.05:.15:e>500?t?.1:.18:e>200?.25:1}(c,fe(t.id)):1;return{width:o?1920:c*u,height:l*u}}(e,t,h,a),E=function(e,t,n){return n?0:gt.includes(t)?1:e>200?2:3}(h.width,e,a),T=function(e,t){const n=gt.includes(e)&&!t;return e===W.SCALE_TO_FILL||n?W.SCALE_TO_FIT:e}(e,g),I=It(e,t,n,p),{uri:_}=xt(T,t,{...f,alignment:p,htmlTag:m},{autoEncode:r,filters:E?{blur:E}:{},hasAnimation:s,allowAnimatedTransform:u,encoding:l}),{attr:b={},css:v}=xt(e,t,{...h,alignment:p,htmlTag:m},{});return v.img=v.img||{},v.container=v.container||{},Object.assign(v.img,I.img,bt),Object.assign(v.container,I.container),{uri:_,css:v,attr:b,transformed:!0}}function xt(e,t,n,i){let r={};if(me(e,t,n)){const a=Ze(e,t,n),o=We(e,t,a,i);r.uri=ht(e,t,a,i,o),i?.useSrcset&&(r.srcset=function(e,t,n,i,r){const a=n.pixelAspectRatio||1;return{dpr:[`${1===a?r.uri:ht(e,t,{...n,pixelAspectRatio:1},i)} 1x`,`${2===a?r.uri:ht(e,t,{...n,pixelAspectRatio:2},i)} 2x`]}}(e,t,a,i,r)),Object.assign(r,function(e,t){let n;return n=t.htmlTag===K.BG?Fe:t.htmlTag===K.SVG?Ue:Ye,n(e,t)}(o,a),{transformed:o.transformed})}else r=ne;return r}const yt="https://static.wixstatic.com/media/";"undefined"!=typeof window&&window.devicePixelRatio;Ge();Ge();const Lt=yt,{STATIC_MEDIA_URL:At}=e,Ct=({fittingType:e,src:t,target:n,options:i})=>{const r=vt(e,t,n,{...i,autoEncode:!0});return r?.uri&&!/^[a-z]+:/.test(r.uri)&&(r.uri=`${At}${r.uri}`),r},wt=/^[a-z]+:/,Ot=e=>{const{id:t,containerId:n,uri:r,alt:a,name:o="",role:s,width:c,height:l,displayMode:u,devicePixelRatio:d,quality:h,alignType:p,bgEffectName:m="",focalPoint:g,upscaleMethod:f,className:E="",crop:T,imageStyles:I={},targetWidth:_,targetHeight:b,targetScale:v,onLoad:x=(()=>{}),onError:y=(()=>{}),shouldUseLQIP:L,containerWidth:A,containerHeight:C,getPlaceholder:w,isInFirstFold:O,placeholderTransition:S,socialAttrs:N,isSEOBot:R,skipMeasure:k,hasAnimation:M,encoding:P}=e,G=i.useRef(null);let F="";const B="blur"===S,H=i.useRef(null);if(!H.current)if(w||L||O||R){const e={upscaleMethod:f,...h||{},shouldLoadHQImage:O,isSEOBot:R,hasAnimation:M,encoding:P};H.current=(w||Ct)({fittingType:u,src:{id:r,width:c,height:l,crop:T,name:o,focalPoint:g},target:{width:A,height:C,alignment:p,htmlTag:"img"},options:e}),F=!H.current.transformed||O||R?"":"true"}else H.current={uri:void 0,css:{img:{}},attr:{img:{},container:{}},transformed:!1};const U=!R&&(w||L)&&!O&&H.current.transformed,D=i.useMemo((()=>JSON.stringify({containerId:n,...n&&{containerId:n},...p&&{alignType:p},...k&&{skipMeasure:!0},displayMode:u,...A&&{targetWidth:A},...C&&{targetHeight:C},..._&&{targetWidth:_},...b&&{targetHeight:b},...v&&{targetScale:v},isLQIP:U,isSEOBot:R,lqipTransition:S,encoding:P,imageData:{width:c,height:l,uri:r,name:o,displayMode:u,hasAnimation:M,...h&&{quality:h},...d&&{devicePixelRatio:d},...g&&{focalPoint:g},...T&&{crop:T},...f&&{upscaleMethod:f}}})),[n,p,k,u,A,C,_,b,v,U,R,S,P,c,l,r,o,M,h,d,g,T,f]),j=H.current,$=j?.uri,z=j?.srcset,V=j.css?.img,W=`${Y} ${E}`;i.useEffect((()=>{const e=G.current;x&&e?.currentSrc&&e?.complete&&x({target:e})}),[]);const Z=j&&!j?.transformed?`max(${c}px, 100%)`:_?`${_}px`:null;return i.createElement("wow-image",{id:t,class:W,"data-image-info":D,"data-motion-part":`BG_IMG ${n}`,"data-bg-effect-name":m,"data-has-ssr-src":F,"data-animate-blur":!R&&U&&B?"":void 0,style:Z?{"--wix-img-max-width":Z}:{}},i.createElement("img",{src:$,ref:G,alt:a||"",role:s,style:{...V,...I},onLoad:x,onError:y,width:A||void 0,height:C||void 0,...N,srcSet:O?z?.dpr?.map((e=>wt.test(e)?e:`${At}${e}`)).join(", "):void 0,fetchpriority:O?"high":void 0,loading:!1===O?"lazy":void 0,suppressHydrationWarning:!0}))};var St="I5zqsT";var Nt=e=>{var t,r;const{id:a,alt:o,role:s,className:l,imageStyles:u={},targetWidth:d,targetHeight:h,onLoad:p,onError:m,containerWidth:g,containerHeight:f,isInFirstFold:E,socialAttrs:T,skipMeasure:I,responsiveImageProps:_,zoomedImageResponsiveOverride:b}=e,v=d||g,x=h||f,y=v+"px",{fallbackSrc:L,srcset:A,css:C}=_||{};return L&&A&&C?i.createElement("img",n()({fetchpriority:E?"high":void 0,loading:!1===E?"lazy":void 0,sizes:y,srcSet:I?null==b?void 0:b.srcset:null==_?void 0:_.srcset,id:a,src:L,alt:o||"",role:s,style:{...u,...I?{...null==b||null==(t=b.css)?void 0:t.img}:{...null==_||null==(r=_.css)?void 0:r.img}},onLoad:p,onError:m,className:c(l,St),width:v,height:x},T)):i.createElement(Ot,e)};const Rt={root:"linkElement"},kt=(e,t)=>{const{href:r,role:a,target:o,rel:s,className:c="",children:l,linkPopupId:u,anchorDataId:d,anchorCompId:h,tabIndex:p,dataTestId:T=Rt.root,title:I,onClick:_,onDoubleClick:b,onMouseEnter:v,onMouseLeave:x,onFocus:y,onFocusCapture:L,onBlurCapture:A,"aria-live":C,"aria-disabled":w,"aria-label":O,"aria-labelledby":S,"aria-pressed":N,"aria-expanded":R,"aria-describedby":k,"aria-haspopup":M,"aria-current":P,dataPreview:G,dataPart:F}=e,B=void 0!==e.activateByKey?e.activateByKey:(e=>e?"SpaceOrEnter":"Space")(u);let H;switch(B){case"Enter":H=g;break;case"Space":H=m;break;case"SpaceOrEnter":H=f;break;default:H=void 0}return void 0!==r||u?i.createElement("a",n()({},E(e),{"data-testid":T,"data-popupid":u,"data-anchor":d,"data-anchor-comp-id":h,"data-preview":G,"data-part":F,href:r||void 0,target:o,role:u?"button":a,rel:s,className:c,onKeyDown:H,"aria-live":C,"aria-disabled":w,"aria-label":O,"aria-labelledby":S,"aria-pressed":N,"aria-expanded":R,"aria-haspopup":M,"aria-describedby":k,"aria-current":P,title:I,onClick:_,onMouseEnter:v,onMouseLeave:x,onDoubleClick:b,onFocus:y,onFocusCapture:L,onBlurCapture:A,ref:t,tabIndex:u?0:p}),l):i.createElement("div",n()({},E(e),{"data-testid":T,"data-preview":G,"data-part":F,className:c,tabIndex:p,"aria-label":O,"aria-labelledby":S,"aria-haspopup":M,"aria-disabled":w,"aria-expanded":R,title:I,role:a,onClick:_,onDoubleClick:b,onMouseEnter:v,onMouseLeave:x,ref:t}),l)};var Mt=i.forwardRef(kt);var Pt=e=>{const{imageOnClickAction:t,openImageZoom:r,focusItemRoot:a,focusDisabledItems:o=!1,imgTitle:s,imgAlt:l,link:u,children:d,skinsStyle:h,itemId:p,translations:m,onFocus:g=(()=>{}),onBlur:E=(()=>{})}=e,T="describedby_"+p,I=()=>{a&&a(),r()};switch(t){case"zoomMode":return i.createElement("div",{className:c(h.itemClickWrapper,h.imageZoomBtn),"data-testid":S,role:"button","aria-haspopup":"true",tabIndex:0,"aria-label":l||s||void 0,"aria-describedby":T,onClick:I,onKeyDown:f,onFocus:g,onBlur:E},d,i.createElement("div",{style:{display:"none"}},i.createElement("span",{id:T,"data-testid":N},m.imageZoomDescribedByLabel)));case"goToLink":if(!(_=u)||0===Object.keys(_).length&&_.constructor===Object)break;return i.createElement(Mt,n()({className:c(h.itemClickWrapper,h.imageLink),dataTestId:O},o?{tabIndex:0}:{},u),d)}var _;return i.createElement("div",n()({className:h.itemClickWrapper,role:"img","data-testid":R},o?{tabIndex:0}:{}),d)},Gt=r(93213),Ft=r.n(Gt),Bt=r(96114),Ht=r.n(Bt);const Yt="gallery-image-sizer";var Ut=()=>{if("undefined"!=typeof window&&window.customElements&&!window.customElements.get(Yt)){class e extends HTMLElement{constructor(){super(),Ft()(this,"sizeObserver",void 0),this.sizeObserver=new ResizeObserver((e=>this.onResize(e)))}disconnectedCallback(){this.sizeObserver.disconnect()}connectedCallback(){this.sizeObserver.observe(this)}onResize(e){const t=e[0].contentRect.width,n=e[0].contentRect.height;this.resizeImage(t,n)}resizeImage(e,t){const n=this.children[0];if(n){const i=((e,t,n,i)=>{const r=n/i,a=Math.round(t*r);return a<=e?{width:a,height:t}:{width:e,height:Math.round(e/r)}})(e,t,parseInt(this.dataset.imageWidth,10),parseInt(this.dataset.imageHeight,10));Ht().mutate((()=>{var e;this.style.visibility="inherit",n.style.width=i.width+"px",n.style.height=i.height+"px",/^((?!chrome|android).)*safari/i.test(navigator?.userAgent)&&((e=n).style.setProperty("transform","translateZ(0)"),requestAnimationFrame((()=>{e.style.removeProperty("transform")})))}))}}}window.customElements.define(Yt,e)}},Dt="OH99EZ";Ut();var jt=e=>{const{className:t,isFitMode:n,imageWidth:r,imageHeight:a,children:o}=e;return n?i.createElement("gallery-image-sizer",{class:c(t,Dt),"data-image-width":r,"data-image-height":a},o):i.createElement("div",{className:t},o)};var $t={root:"gallery",galleryItem:"gallery__item"};var zt=e=>{const{dataId:t,title:r,description:a,link:o,image:s,itemId:l,skinsStyle:u,extraClassNames:d,imageOnClickAction:h,openImageZoom:p=(()=>{}),translations:m,alignTextRight:g,itemClickHandler:f,imageMode:E,dataTestId:T,panelInImageWrapper:_,hasTransition:b}=e,v=i.useCallback((()=>p(t)),[t,p]),x=i.createElement("div",{"data-testid":A,className:c(u.panel,d.panel)},i.createElement("div",{"data-testid":C,className:u.title},r),i.createElement("p",{"data-testid":w,className:u.description},a));return i.createElement("div",{className:c(u.root,d.root,I($t.galleryItem),{[u.textAlignmentRight]:g}),"data-testid":T,"data-image-mode":E,"data-has-transition":b&&"flexibleWidthFixed"===E?"true":"false",onClick:f},i.createElement(Pt,{imageOnClickAction:h,openImageZoom:v,imgTitle:s.title||"",link:o,imgAlt:s.alt,itemId:l,skinsStyle:u,translations:m},"flexibleHeight"===E&&i.createElement("svg",{className:u.aspectRatioSizer,viewBox:"0 0 "+s.width+" "+s.height}),i.createElement(jt,{className:u.imageSizer,isFitMode:"flexibleWidthFixed"===E,imageWidth:s.width,imageHeight:s.height},i.createElement("div",{className:u.imageWrapper},i.createElement("div",{className:u.imageBorder},i.createElement(Nt,n()({className:u.image,id:"img_"+s.containerId},s,{alt:s.alt||s.title,displayMode:"fill"}))),_&&x)),!_&&x))};const Vt=e=>{let{skinsStyle:t,currentIndex:n=0,itemsLength:r=0}=e;return i.createElement("div",{"data-testid":B,className:t.counter},n+1+"/"+r)},Wt=e=>{let{translations:t,skinsStyle:n,moveToPrevItem:r,moveToNextItem:a,withCounter:o=!1,currentIndex:s,itemsLength:l,reverse:u,buttonPrevContent:d,buttonNextContent:h}=e;return i.createElement("nav",{"aria-label":t.navigationButtonAriaLabel,className:n.navButtons,"data-testid":k},i.createElement("button",{className:c(n.navButton,n.buttonPrev),"data-testid":M,type:"button","aria-label":u?t.nextButtonAriaLabel:t.prevButtonAriaLabel,onClick:u?a:r},i.createElement("span",{className:n.arrow,"data-testid":G,role:"presentation","aria-hidden":"true"},d)),o&&i.createElement(Vt,{skinsStyle:n,currentIndex:s,itemsLength:l}),i.createElement("button",{className:c(n.navButton,n.buttonNext),"data-testid":P,type:"button","aria-label":u?t.prevButtonAriaLabel:t.nextButtonAriaLabel,onClick:u?r:a},i.createElement("span",{className:n.arrow,"data-testid":F,role:"presentation","aria-hidden":"true"},h)))};function Zt(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}function qt(){return qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qt.apply(null,arguments)}function Jt(e,t){return Jt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Jt(e,t)}function Xt(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,Jt(e,t)}var Kt=o().createContext(null);function Qt(e,t){var n=Object.create(null);return e&&i.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,i.isValidElement)(e)?t(e):e}(e)})),n}function en(e,t,n){return null!=n[t]?n[t]:e.props[t]}function tn(e,t,n){var r=Qt(e.children),a=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var i,r=Object.create(null),a=[];for(var o in e)o in t?a.length&&(r[o]=a,a=[]):a.push(o);var s={};for(var c in t){if(r[c])for(i=0;i<r[c].length;i++){var l=r[c][i];s[r[c][i]]=n(l)}s[c]=n(c)}for(i=0;i<a.length;i++)s[a[i]]=n(a[i]);return s}(t,r);return Object.keys(a).forEach((function(o){var s=a[o];if((0,i.isValidElement)(s)){var c=o in t,l=o in r,u=t[o],d=(0,i.isValidElement)(u)&&!u.props.in;!l||c&&!d?l||!c||d?l&&c&&(0,i.isValidElement)(u)&&(a[o]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:u.props.in,exit:en(s,"exit",e),enter:en(s,"enter",e)})):a[o]=(0,i.cloneElement)(s,{in:!1}):a[o]=(0,i.cloneElement)(s,{onExited:n.bind(null,s),in:!0,exit:en(s,"exit",e),enter:en(s,"enter",e)})}})),a}var nn=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},rn=function(e){function t(t,n){var i,r=(i=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i));return i.state={contextValue:{isMounting:!0},handleExited:r,firstRender:!0},i}Xt(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,a=t.children,o=t.handleExited;return{children:t.firstRender?(n=e,r=o,Qt(n.children,(function(e){return(0,i.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:en(e,"appear",n),enter:en(e,"enter",n),exit:en(e,"exit",n)})}))):tn(e,a,o),firstRender:!1}},n.handleExited=function(e,t){var n=Qt(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=qt({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,i=Zt(e,["component","childFactory"]),r=this.state.contextValue,a=nn(this.state.children).map(n);return delete i.appear,delete i.enter,delete i.exit,null===t?o().createElement(Kt.Provider,{value:r},a):o().createElement(Kt.Provider,{value:r},o().createElement(t,i,a))},t}(o().Component);rn.propTypes={},rn.defaultProps={component:"div",childFactory:function(e){return e}};var an=rn;function on(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}var sn=r(95561),cn=r.n(sn),ln=!1,un=function(e){return e.scrollTop},dn="unmounted",hn="exited",pn="entering",mn="entered",gn="exiting",fn=function(e){function t(t,n){var i;i=e.call(this,t,n)||this;var r,a=n&&!n.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?a?(r=hn,i.appearStatus=pn):r=mn:r=t.unmountOnExit||t.mountOnEnter?dn:hn,i.state={status:r},i.nextCallback=null,i}Xt(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===dn?{status:hn}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==pn&&n!==mn&&(t=pn):n!==pn&&n!==mn||(t=gn)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,i=this.props.timeout;return e=t=n=i,null!=i&&"number"!=typeof i&&(e=i.exit,t=i.enter,n=void 0!==i.appear?i.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===pn){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:cn().findDOMNode(this);n&&un(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===hn&&this.setState({status:dn})},n.performEnter=function(e){var t=this,n=this.props.enter,i=this.context?this.context.isMounting:e,r=this.props.nodeRef?[i]:[cn().findDOMNode(this),i],a=r[0],o=r[1],s=this.getTimeouts(),c=i?s.appear:s.enter;!e&&!n||ln?this.safeSetState({status:mn},(function(){t.props.onEntered(a)})):(this.props.onEnter(a,o),this.safeSetState({status:pn},(function(){t.props.onEntering(a,o),t.onTransitionEnd(c,(function(){t.safeSetState({status:mn},(function(){t.props.onEntered(a,o)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:cn().findDOMNode(this);t&&!ln?(this.props.onExit(i),this.safeSetState({status:gn},(function(){e.props.onExiting(i),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:hn},(function(){e.props.onExited(i)}))}))}))):this.safeSetState({status:hn},(function(){e.props.onExited(i)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,t.nextCallback=null,e(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:cn().findDOMNode(this),i=null==e&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var r=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],a=r[0],o=r[1];this.props.addEndListener(a,o)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===dn)return null;var t=this.props,n=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,Zt(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return o().createElement(Kt.Provider,{value:null},"function"==typeof n?n(e,i):o().cloneElement(o().Children.only(n),i))},t}(o().Component);function En(){}fn.contextType=Kt,fn.propTypes={},fn.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:En,onEntering:En,onEntered:En,onExit:En,onExiting:En,onExited:En},fn.UNMOUNTED=dn,fn.EXITED=hn,fn.ENTERING=pn,fn.ENTERED=mn,fn.EXITING=gn;var Tn=fn,In=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.remove(i):"string"==typeof n.className?n.className=on(n.className,i):n.setAttribute("class",on(n.className&&n.className.baseVal||"",i)));var n,i}))},_n=function(e){function t(){for(var t,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return(t=e.call.apply(e,[this].concat(i))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var i=t.resolveArguments(e,n),r=i[0],a=i[1];t.removeClasses(r,"exit"),t.addClass(r,a?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var i=t.resolveArguments(e,n),r=i[0],a=i[1]?"appear":"enter";t.addClass(r,a,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var i=t.resolveArguments(e,n),r=i[0],a=i[1]?"appear":"enter";t.removeClasses(r,a),t.addClass(r,a,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,i="string"==typeof n,r=i?""+(i&&n?n+"-":"")+e:n[e];return{baseClassName:r,activeClassName:i?r+"-active":n[e+"Active"],doneClassName:i?r+"-done":n[e+"Done"]}},t}Xt(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var i=this.getClassNames(t)[n+"ClassName"],r=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&r&&(i+=" "+r),"active"===n&&e&&un(e),i&&(this.appliedClasses[t][n]=i,function(e,t){e&&t&&t.split(" ").forEach((function(t){return i=t,void((n=e).classList?n.classList.add(i):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,i)||("string"==typeof n.className?n.className=n.className+" "+i:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+i)));var n,i}))}(e,i))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],i=n.base,r=n.active,a=n.done;this.appliedClasses[t]={},i&&In(e,i),r&&In(e,r),a&&In(e,a)},n.render=function(){var e=this.props,t=(e.classNames,Zt(e,["classNames"]));return o().createElement(Tn,qt({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(o().Component);_n.defaultProps={classNames:""},_n.propTypes={};var bn=_n,vn="sNF2R0",xn="hLoBV3",yn="Rdf41z",Ln="ftlZWo";var An="ATGlOr",Cn="KQSXD0",wn="pagQKE",On="_6zG5H";var Sn="BB49uC",Nn="j9xE1V",Rn="ICs7Rs",kn="DxijZJ",Mn="B5kjYq",Pn="cJijIV",Gn="hOxaWM",Fn="T9p3fN";var Bn="qDxYJm",Hn="aA9V0P",Yn="YPXPAS",Un="Xf2zsA",Dn="y7Kt7s",jn="EeUgMu",$n="fdHrtm",zn="WIFaG4";const Vn={CrossFade:e=>{const{reverse:t,...r}=e;return i.createElement(bn,n()({},r,{classNames:{enter:vn,enterActive:xn,exit:yn,exitActive:Ln}}),e.children)},OutIn:e=>{const{reverse:t,...r}=e;return i.createElement(bn,n()({},r,{classNames:{enter:An,enterActive:Cn,exit:wn,exitActive:On}}),e.children)},SlideHorizontal:e=>{const{reverse:t,...r}=e;return i.createElement(bn,n()({},r,{classNames:t?{enter:Mn,enterActive:Pn,exit:Gn,exitActive:Fn}:{enter:Sn,enterActive:Nn,exit:Rn,exitActive:kn}}),e.children)},SlideVertical:e=>{const{reverse:t,...r}=e;return i.createElement(bn,n()({},r,{classNames:t?{enter:Dn,enterActive:jn,exit:$n,exitActive:zn}:{enter:Bn,enterActive:Hn,exit:Yn,exitActive:Un}}),e.children)}};var Wn=e=>{const t=Vn[e.type],{type:n,...r}=e;return i.createElement(t,r)};var Zn=e=>{const{skinsStyle:t,currentIndex:n=0,isPlaying:r,transition:a,transitionDuration:o,reverse:s,onTransitionEnd:c,children:l}=e;return"NoTransition"===a?i.createElement("div",{"data-testid":H.items,"aria-live":r?"off":"polite",className:t.itemsContainer},l):i.createElement(an,{"data-testid":H.items,className:t.itemsContainer,"aria-live":r?"off":"polite",childFactory:e=>i.cloneElement(e,{reverse:s})},i.createElement(Wn,{type:a,key:n,timeout:o,onExited:c,unmountOnExit:!0},l))};const qn=()=>{},Jn=(e,t)=>0===e?t-1:e-1,Xn=(e,t)=>e===t-1?0:e+1,Kn=(e,t)=>[Jn(e,t),e,Xn(e,t)],Qn=(e,t)=>{const{id:r,className:a,customClassNames:o=[],items:s,skinsStyle:l,skinsItemStyle:u,currentIndex:p,setCurrentIndex:m,onCurrentItemChanged:g,overlay:f,autoPlay:T,autoPlayInterval:_,setAutoPlay:b,reducedMotion:v,transition:x,transitionDuration:A,openImageZoom:C=qn,onMouseEnter:w=qn,onMouseLeave:O=qn,imageOnClickAction:S,showAutoplay:N,showNavigation:R,showCounter:k,translations:M,onNavigationEnd:P,onPlay:G=qn,onPause:F=qn,isPlaying:B=T&&s.length>1&&!v,transitionReverse:Y,alignTextRight:U,onItemClicked:D,renderNavigationButtonsInHelpers:j=!1,imageMode:$,panelInImageWrapper:z,getPlaceholder:V}=e,W=i.useRef(null),Z=function(e,t){void 0===t&&(t=!1);const[n,r]=(0,i.useState)(!1);return(0,i.useEffect)((()=>{if(!L())return r(t),()=>{};const n=e.current;if(n&&L()){const e=new window.IntersectionObserver((e=>{const t=e[e.length-1];r(t.isIntersecting)}));return e.observe(n),()=>{e.disconnect()}}return()=>{}}),[e,t]),n}(W),q=B&&Z,[J,X]=i.useState(!1),K="NoTransition"!==x,Q=s[p];Q&&(Q.image.getPlaceholder=V);const[ee,te]=i.useState(!1),ne=i.useCallback((e=>{m(e),null==g||g({type:"imageChanged",itemIndex:e}),P&&P(e)}),[m,g,P]),ie=i.useCallback((e=>{J||(X(!0),m(e),null==g||g({type:"imageChanged",itemIndex:e}))}),[J,m,g]),re=i.useCallback((()=>{X(!1),P&&P(p)}),[p,X,P]),ae=i.useCallback((e=>K?ie(e):ne(e)),[ne,ie,K]),oe=i.useCallback((()=>{const e=Xn(p,s.length);return te(!1),ae(e)}),[s.length,p,ae]),se=i.useCallback((()=>{const e=Jn(p,s.length);return te(!0),ae(e)}),[s.length,p,ae]),ce=i.useCallback((()=>{null==G||G({type:"autoplayOn"}),b(!0)}),[G,b]),le=i.useCallback((()=>{null==F||F({type:"autoplayOff"}),b(!1)}),[F,b]);y("onSwipeLeft",Y?se:oe,W),y("onSwipeRight",Y?oe:se,W),function(e,t){const n=(0,i.useRef)((()=>{}));(0,i.useEffect)((()=>{n.current=e}),[e]),(0,i.useEffect)((()=>{if(null!==t){const e=setInterval((function(){n.current()}),t);return()=>clearInterval(e)}return()=>{}}),[t])}(Y?se:oe,q?_:null),i.useImperativeHandle(t,(()=>({next:oe,previous:se,play:ce,pause:le})),[oe,se,ce,le]);const ue=i.useRef({currentIndex:p,items:s,indexes:new Set(Kn(p,s.length))});if(ue.current.items!==s)ue.current={currentIndex:p,items:s,indexes:new Set(Kn(p,s.length))};else if(ue.current.currentIndex!==p){ue.current={currentIndex:p,items:s,indexes:ue.current.indexes};const e=Kn(p,s.length);for(const t of e)ue.current.indexes.add(t)}const de=s.map(((e,t)=>({item:e,originalIndex:t}))).filter((e=>{let{originalIndex:t}=e;return ue.current.indexes.has(t)})).map((e=>{let{item:t,originalIndex:a}=e;return t.image.getPlaceholder=V,i.createElement(zt,n()({key:"item-"+a,dataTestId:H.ghostItem,itemClickHandler:qn,skinsStyle:u,extraClassNames:{root:l.item,panel:l.panel},itemId:(o=a,s=r,"item-"+o+"-"+s),imageOnClickAction:S,openImageZoom:qn,translations:M,alignTextRight:U,imageMode:$,panelInImageWrapper:z},t));var o,s}));return i.createElement("div",n()({},E(e),{onMouseEnter:w,onMouseLeave:O,id:r,"data-testid":H.root,"data-image-mode":$,ref:W,role:"region","aria-label":M.galleryAriaLabel,className:c(l.root,a,I($t.root,...o),{[l.textAlignmentRight]:U}),onKeyDown:e=>{e.keyCode===h?oe():e.keyCode===d&&se()}}),i.createElement("div",{className:l.ghostItems},de),R&&!j&&i.createElement(Wt,{translations:M,skinsStyle:l,moveToPrevItem:se,moveToNextItem:oe,reverse:Y,withCounter:!1}),Q&&i.createElement(Zn,{skinsStyle:l,currentIndex:p,isPlaying:q,transition:x,transitionDuration:A,reverse:ee,onTransitionEnd:re},i.createElement(zt,n()({key:"flexibleWidthFixed"===$?"item-"+p+Q.title:void 0,dataTestId:H.item,itemClickHandler:()=>{null==D||D({itemIndex:p,type:"itemClicked"})},skinsStyle:u,extraClassNames:{root:l.item,panel:l.panel},imageOnClickAction:S,openImageZoom:e=>{q?(le(),C(e,r,ce)):C(e,r)},translations:M,alignTextRight:U,imageMode:$,hasTransition:K,itemId:"item-current-"+p+"-"+r,panelInImageWrapper:z},Q))),i.createElement("div",{className:l.helpers},N&&i.createElement("button",{className:c(l.playButton,q?l.autoplayOn:l.autoplayOff),"data-testid":H.playButton,"data-hook":T?H.pauseButton:H.playButton,type:"button","aria-label":M.platButtonAriaLabel,"aria-pressed":q,onClick:()=>{T?le():ce()}},i.createElement("span",{className:l.playIcon,"data-testid":H.playButtonInner,role:"presentation","aria-hidden":"true"})),R&&j?i.createElement(Wt,{translations:M,skinsStyle:l,moveToPrevItem:se,moveToNextItem:oe,reverse:Y,withCounter:k,currentIndex:p,itemsLength:s.length}):k?i.createElement(Vt,{skinsStyle:l,currentIndex:p,itemsLength:s.length}):null),f)};var ei=i.forwardRef(Qn),ti={root:"Y0jxJY",itemClickWrapper:"CvXZo_",imageSizer:"K2Z3B6",imageBorder:"bzcGVf",image:"fqF_kr",imageWrapper:"p01btZ",aspectRatioSizer:"LqTGEx",imageLink:"D5ivd8",imageZoomBtn:"cUBYZP",textAlignmentRight:"hClQka",panel:"u2k3sZ",title:"VS7RjU",description:"qxdtPC"},ni={forceShowButtons:"ByKihH",root:"IcC9C7",itemsContainer:"SNhU_k",item:"V3LIa1",navButtons:"udT3Bw",navButton:"XFhrUc",playButton:"dm5eF4",playIcon:"sw1ktB",ghostItems:"APAK8c",ghostItem:"nowHyy",buttonPrev:"vfaxBo",buttonNext:"Ce_74s",border:"popWWQ",arrow:"pNLjEu",helpers:"SR1lWv",counter:"NbDgc9",autoplayOff:"x8_Jp2",autoplayOn:"TYK8wk",panel:"oL29SX",textAlignmentRight:"JvIKoj"};const ii=(e,t)=>i.createElement(ei,n()({ref:t},e,{skinsStyle:ni,skinsItemStyle:ti,overlay:i.createElement("div",{className:ni.border}),panelInImageWrapper:!0}));const ri=e=>e.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`));var ai;const oi={SlideShowGallery_SlideShowCleanAndSimple:{component:i.forwardRef(ii),controller:(ai=e=>{let{mapperProps:t,controllerUtils:n}=e;return{...t,setCurrentIndex:e=>{n.updateProps({currentIndex:e})},setAutoPlay:e=>{n.updateProps({autoPlay:e})}}},{useComponentProps:(e,t,n)=>{const i=(e=>({...e,updateStyles:t=>{const n=Object.entries(t).reduce(((e,[t,n])=>{return{...e,[(i=t,i.startsWith("--")?t:ri(t))]:void 0===n?null:n};var i}),{});e.updateStyles(n)}}))(n);return ai({mapperProps:e,stateValues:t,controllerUtils:i})}})}}}(),a}()})); //# sourceMappingURL=https://static.parastorage.com/services/editor-elements-library/dist/thunderbolt/rb_wixui.thunderbolt[SlideShowGallery_SlideShowCleanAndSimple].cf2431d8.bundle.min.js.map